/**
 *  @FileName: InsufficientFundsException.java
 *  @Last Modified Date: CharlW
 *  @Description: InsufficientFundsException类是用户定义的异常类，它继承自Exception
 */

import java.io.*;

public class InsufficientFundsException extends Exception {
	private double amount;
	public InsufficientFundsException(double amount) {
		this.amount = amount;
	}
	public double getAmount() {
		return amount;
	}
}